require 'cgi'
module SemanticText
  class Span
  	attr_reader :text

  	def initialize(content)
  		@text = content
  	end
  	
	  #export as html
    def export_html
      ' '+ CGI.escapeHTML(text)
    end
	
  end

end